#include <iostream>
#include "Die.h"
#include <time.h>
using namespace std;

int main( )
{
	srand(time(NULL));


	cout << "Welcome to DieGame5000!\n\n"
		<< "To start the game, simply press ENTER on your keyboard\n"
		<< "And everytime you want to roll anew, once again press ENTER.\n"
		<< "Any other keypress will quit the game.\n";
	
	Die die;

	while( cin.get() == '\n' )
	{
		die.ThrowDie();
		die.WriteDie();
	}

	system("PAUSE");
	return 0;
}